Skip to content

platform.txt: don't set compiler.warning_flags to -w #2784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

platform.txt: don't set compiler.warning_flags to -w #2784

wants to merge 1 commit into from

Conversation

silbe
Copy link

@silbe silbe commented Dec 21, 2016

makeEspArduino doesn't have any menu logic, so it uses
compiler.warning_flags rather than one of the compiler.warning_flags.*
properties. The GCC option "-w" isn't overridable, so there's no way
for the user to enable warnings.

Set compiler.warning_flags to the same value as
compiler.warning_flags.default, i.e. empty, to fix this.

makeEspArduino doesn't have any menu logic, so it uses
compiler.warning_flags rather than one of the compiler.warning_flags.*
properties. The GCC option "-w" isn't overridable, so there's no way
for the user to enable warnings.

Set compiler.warning_flags to the same value as
compiler.warning_flags.default, i.e. empty, to fix this.
@codecov-io
Copy link

codecov-io commented Dec 21, 2016

Current coverage is 27.80% (diff: 100%)

Merging #2784 into master will not change coverage

@@             master      #2784   diff @@
==========================================
  Files            20         20          
  Lines          3625       3625          
  Methods         335        335          
  Messages          0          0          
  Branches        656        656          
==========================================
  Hits           1008       1008          
  Misses         2441       2441          
  Partials        176        176          

Powered by Codecov. Last update 7b32e6a...04a6c18

@earlephilhower earlephilhower added this to the 2.6.0 milestone Oct 1, 2019
@earlephilhower
Copy link
Collaborator

This is simple enough for us to either merge in 2.6.0 or close as a won't merge, to declutter the PR list.

@earlephilhower
Copy link
Collaborator

Closing as won't merge. I checked other Arduino platform.txts and our setting matches theirs so we're consistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants